local skel = fk.CreateSkill {
  name = "eagle_skill",
}

skel:addEffect("cardskill", {
  prompt = "#eagle_skill",
  target_num = 1,
  mod_target_filter = function (self, player, to_select, selected, card, extra_data)
    return player ~= to_select
  end,
  target_filter = Util.CardTargetFilter,
  on_effect = function(self, room, effect)
    local player, to = effect.from, effect.to
    room:addSkill("eagle_tmd_skill") -- 避免使用全局技能
    if not to:isKongcheng() then
      room:viewCards(player, {
        cards = to:getCardIds("h"), skill_name = self.name, prompt = "$ViewCardsFrom:"..to.id
      })
    end
    room:addTableMark(player, "eagle-turn", to.id)
  end,
})

Fk:loadTranslationTable{
  ["eagle_skill"] = "鹰",
  ["#eagle_skill"] = "观看一名角色手牌，本回合对其用牌无距离限制",
}

return skel
